// 封装所有和用户相关的接口函数
import request from '@/utils/request'
export const loginAPI = ({ account, password }) => {
  return request.post('/login', {
    account,
    password
  })
}

export const getLikeListAPI = ({ limit = 4 }) => {
  return request.get('/goods/relevant', {
    params: {
      limit
    }
  })
}
